import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';

import { DevComponent } from './dev/dev.component';
import { RoutersComponent } from './routers.component';
import { TestComponent } from './test/test.component';

const routes: Routes = [
  {
    path: '',
    component: RoutersComponent,
    children: [
      {
        path: 'dev',
        component: DevComponent,
      },
      {
        path: 'test',
        component: TestComponent,
      }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class RoutersRoutingModule{

}
